﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FlashPay.Entity.Response.Payment
{
    public class PaymentRecordRealResult<T>: JResult
    {
        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }

        /// <summary>
        /// 付款时间差(分)
        /// </summary>
        public double PaymentDateTimeDifference { get; set; }

        /// <summary>
        /// 分钟数
        /// </summary>
        public int Minutes { set; get; }
        
    }
    /// <summary>
    /// 已实际付款记录
    /// </summary>
    public class PaymentRecordRealResponse
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 实际订单号
        /// </summary>
        public string ClientOrderNo { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string AfterBalance { get; set; }
        /// <summary>
        /// 公司编号
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string  CompanyName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 收款OR付款
        /// </summary>
        public sbyte RecordType { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 创建时间(DB)
        /// </summary>
        public DateTime CreateDbdate { get; set; }
        /// <summary>
        /// 收款OR付款时间
        /// </summary>
        public string OperatingDate { get; set; }
        /// <summary>
        /// 银行卡Id
        /// </summary>
        public int CardBcid { get; set; }
        /// <summary>
        /// 银行卡Id
        /// </summary>
        public string CardBankName { get; set; }
        /// <summary>
        /// 收款OR付款金额
        /// </summary>
        public string Amount { get; set; }
        /// <summary>
        /// 客户银行
        /// </summary>
        public string ClientBankName { get; set; }
        /// <summary>
        /// 客户姓名
        /// </summary>
        public string ClientAccountName { get; set; }
        /// <summary>
        /// 客户卡号
        /// </summary>
        public string ClientCardNumber { get; set; }
        /// <summary>
        /// 银行端交易流水号
        /// </summary>
        public string BankSerialNo { get; set; }
        /// <summary>
        /// 机器ID
        /// </summary>
        public string VmClientId { get; set; }
        /// <summary>
        /// 已媒合单号
        /// </summary>
        public long? MatchOrderNo { get; set; }

        /// <summary>
        /// 平台
        /// </summary>
        public sbyte PlatformType { get; set; }
        
    }
}
